/*
 * @(#) ArticleDao.java 2018年2月8日 下午5:34:04
 *
 * Copyright 2018 CIMIP, Inc. All rights reserved.
 * H-VISIONS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */package cn.hc.share.dao;

import org.apache.ibatis.annotations.Param;

import cn.hc.share.entity.ArticleMsg;

public interface ArticleMsgDao
{

	public int addArticleMsg(ArticleMsg articleMsg);
	
	public ArticleMsg findArticleMsg(
			@Param("articleId")String articleId,
			@Param("author")String author);

	//更新收藏信息
	public int updateArticleMsg(ArticleMsg articleMsg);

	//统计有用/无用信息
	public int countArticleUse(
			@Param("articleId")String articleId, 
			@Param("usefullState")String usefullState);
	
}
